---------------------------------------
------SpaceRace Menu - Admin Tab-------
---------------------------------------

if SR_DEBUG then print("SR: cl_menu_admin loaded") end

SRMenuTabAdmin = {}

function SRMenuTabAdmin(Tabs)
    if SR_DEBUG then print("SR: cl_menu_admin SRMenuTabAdmin showing") end
    --if LocalPlayer():IsAdmin() then 
       
        local AdminItem = vgui.Create( "DCheckBoxLabel" )
            AdminItem:SetPos(SRMenuVars.Padding, SRMenuVars.Padding)
            AdminItem:SetText( "Debug Mode" )
            --AdminItem:SetConVar( "sr_debug" )
            AdminItem:SetValue( 0 )
            AdminItem:SizeToContents()
    
        Tabs:AddSheet( "Admin", AdminItem, "gui/silkicons/shield", false, false, "Change SpaceRace settings" )
    --else
        --print("NAUGHTY PERSON DETECTED!") --should have already been filtered out by the IF in cl_menu
    --end

end